/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rbh.risk.service;

import com.rbh.risk.entity.Workgroup;
import java.util.List;

public interface WorkgroupService {

    public void insert(Workgroup workgroup);

    public void update(Workgroup workgroup);

    public void delete(Workgroup workgroup);

    public Workgroup getById(Integer workgroupId);

    public List<Workgroup> getAll();

    public List<Workgroup> getChildWorkgroup();

    public List<Workgroup> getByWords(String words);

    public List<Workgroup> getByNotEqWords(String words, Workgroup workgroup);
}